From 2d29183aa898570d74c58d67d2d8283281dc9c98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sun, 14 May 2017 08:05:55 +0200 Subject: [PATCH] progressbar: Apply style classes when setting direction We might have to change .top to .left etc. when changing the direction of the progressbar. --- gtk/gtkprogressbar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index b1449c0897..3998f290d0 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -1132,6 +1132,7 @@ gtk_progress_bar_set_orientation (GtkProgressBar *pbar, priv->orientation = orientation; _gtk_orientable_set_style_classes (GTK_ORIENTABLE (pbar)); + update_node_classes (pbar); gtk_widget_queue_resize (GTK_WIDGET (pbar)); g_object_notify (G_OBJECT (pbar), "orientation"); -- 2.30.2